package com.xz.spi.filter;

/**
 * Created by fingal on 2018/1/16.
 */
public class HTMLFilter implements Filter {
    @Override
    public void doFilter(Request request, Response response, FilterChain chain) {
        request.setData(request.getData().replace('<', '[').replace('>', ']'));
        chain.doFilter(request,response, chain);
    }
}
